CREATE TABLE [dbo].[TMGRUP_USUA]
(
[CO_GRUP] [dbo].[TD_VC_008] NOT NULL,
[NO_GRUP] [dbo].[TD_VC_050] NOT NULL CONSTRAINT [DF__TMGRUP_US__NO_GR__08B54D69] DEFAULT (' '),
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TMGRUP_US__CO_US__09A971A2] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMGRUP_US__FE_US__0A9D95DB] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TMGRUP_US__CO_US__0B91BA14] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMGRUP_US__FE_US__0C85DE4D] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMGRUP_USUA] ADD CONSTRAINT [PK__TMGRUP_U__CCFAA75D0BB1B5A5] PRIMARY KEY CLUSTERED  ([CO_GRUP]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TMGRUP_USUA] TO [public]
GRANT INSERT ON  [dbo].[TMGRUP_USUA] TO [public]
GRANT DELETE ON  [dbo].[TMGRUP_USUA] TO [public]
GRANT UPDATE ON  [dbo].[TMGRUP_USUA] TO [public]
GO
